package reservation;

import modelsa.ConnectionRow;

import java.util.List;

public class PrintUtils {

    public static void printFreeConnections(List<ConnectionRow> list) {
        for (ConnectionRow connectionRow : list) {
            System.out.println(connectionRow.getMinuteOfDayArrival() / 60 + " " + connectionRow.getMinuteOfDayArrival()
                    % 60 + "  " + connectionRow.getFreeSpace());
        }
    }
}
